package top.lyunz.fangkeji.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import top.lyunz.fangkeji.bean.appointmentMember;
import top.lyunz.fangkeji.mapper.appointmentMemberMapper;
import top.lyunz.fangkeji.service.appointmentMemberService;
@Service
public class appointmentServiceImpl implements appointmentMemberService {
	@Autowired
	private appointmentMemberMapper appointmentMemberMapper;
	@Override
	public List<appointmentMember> getByapId(int apid) {
		// TODO Auto-generated method stub
		return appointmentMemberMapper.getByapId(apid);
	}
	@Override
	public int addAppointmentMember(appointmentMember appointmentMember) {
		// TODO Auto-generated method stub
		return appointmentMemberMapper.addAppointmentMemberMapper(appointmentMember);
	}
	@Override
	public List<appointmentMember> getByUid(int uid) {
		// TODO Auto-generated method stub
		return appointmentMemberMapper.getByUid(uid);
	}

}
